<template>
  <p>index.vue{{ storeTest.count }} <el-button @click="countAdd()">count+</el-button></p>
</template>

<script setup lang="ts">
import { storeCount } from "@/store/count";
let storeTest = storeCount();


const countAdd = () =>{
    storeTest.count ++
}
</script>
